package com.inspur.his.service.impl;

import com.inspur.his.mapper.DoctMapper;

import com.inspur.his.pojo.Doct;
import com.inspur.his.pojo.DoctExt;
import com.inspur.his.pojo.DoctState;
import com.inspur.his.pojo.UserExt;
import com.inspur.his.service.DoctService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service("doctService")
public class DoctServiceImpl implements DoctService {
    @Autowired
    private DoctMapper doctMapper;

    public List<DoctExt> doctList(HashMap map){
        return  doctMapper.doctList(map);
    }

    public Doct getDoctorById(String docid){
        return  doctMapper.getDoctorById(docid);
    }
    public List<DoctState> getDoctByPst(){
        return doctMapper.getDoctByPst();
    }
}
